//package com.hzhr.extdevice.config;
//
//import com.hzhr.iot.report.sdk.template.ReportTemplate;
//import org.springframework.beans.factory.annotation.Qualifier;
//import org.springframework.cloud.client.loadbalancer.LoadBalanced;
//import org.springframework.context.annotation.Bean;
//import org.springframework.context.annotation.Configuration;
//import org.springframework.web.client.RestTemplate;
//
//@Configuration
//public class HzhrReportServiceSdkConfig {
//    @LoadBalanced
//    @Bean(name = "hzhrReportServiceRestTemplate")
//    RestTemplate restTemplate() {
//        return new RestTemplate();
//    }
//
//    @Bean
//    ReportTemplate reportTemplate(@Qualifier("hzhrReportServiceRestTemplate")RestTemplate restTemplate) {
//        return new ReportTemplate(restTemplate, "report-service", "ext");
//    }
//}
